package app.common.utils.cjt.ao;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 合作伙伴创建请求参数
 * @author feizns
 * @since 2023/04/25
 */
@NoArgsConstructor
@Data
public class PartnerCreateAo {

    /**
     * dto
     */
    private Dto dto;

    /**
     * Dto
     */
    @NoArgsConstructor
    @Data
    public static class Dto {
        /**
         * code
         */
        private String code;
        /**
         * name
         */
        private String name;
        /**
         * partnerType
         */
        private PartnerType partnerType;
        /**
         * partnerClass
         */
        private PartnerClass partnerClass;

        /**
         * PartnerType
         */
        @NoArgsConstructor
        @Data
        @AllArgsConstructor
        public static class PartnerType {
            /**
             * code
             */
            private String code;
        }

        /**
         * PartnerClass
         */
        @NoArgsConstructor
        @Data
        @AllArgsConstructor
        public static class PartnerClass {
            /**
             * code
             */
            private String code;
        }
    }

}
